import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'homeIndex',
    component: () => import('@/views/homeIndex')
  },
  {
    path: '/xieyiIndex',
    name: 'xieyiIndex',
    component: () => import('@/views/xieyiIndex')
  },
  {
    path: '/aboutUs',
    name: 'aboutUs',
    component: () => import('@/views/aboutUs')
  },
  {
    path: '/layoutsIndex',
    name: 'layoutsIndex',
    component: () => import('@/views/layoutsIndex')
  },
  {
    path: '/dy/customer',
    name: 'dyIndex',
    component: () => import('@/views/douyinIndex')
  }

]

const router = new VueRouter({
  // mode:"hash",
  routes
})

export default router
